/**   
 * @Title: ContractSignatoryDubboService.java 
 * @Package com.betterjr.modules.contract.dubbo 
 * @Description: TODO(用一句话描述该文件做什么) 
 * @author xuzx
 * @date 2017年10月31日 下午4:41:22  
 */
package com.betterjr.modules.contract.dubbo;

import javax.annotation.Resource;

import com.alibaba.dubbo.config.annotation.Service;
import com.betterjr.common.web.AjaxObject;
import com.betterjr.modules.contract.IContractSignatoryService;
import com.betterjr.modules.contract.service.ContractSignatoryService;

/** 
 * @ClassName: ContractSignatoryDubboService 
 * @Description: 签署方信息 
 * @author xuzx
 * @date 2017年10月31日 下午4:41:22 
 *  
 */
@Service(interfaceClass = IContractSignatoryService.class)
public class ContractSignatoryDubboService implements IContractSignatoryService {

    @Resource
    private ContractSignatoryService contractSignatoryService;

    /** 
     * <p>Overriding Method of querySignatoryService</p>  
     * <p>Description: </p> 
     * @param anContractProtocoId
     * @return 
     * @see com.betterjr.modules.contract.IContractSignatoryService#querySignatoryService(long) 
     * @author xuzx
     * @date 2017年10月31日 下午4:47:18 
     */
    @Override
    public String querySignatoryService(final long anContractProtocoId) {
        // TODO Auto-generated method stub
        // TODO Auto-generated method stub
        return AjaxObject.newOk("查询签署方信息", contractSignatoryService.queryAllContractSignatory(anContractProtocoId))
                .toJson();

    }

}
